import axios from "axios"

//配置请求的基础路径
axios.defaults.baseURL="http://chst.vip"

export let loginApi = (username,password) =>axios.post("/users/login",{username,password})